package yqt.com.cnki.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import yqt.com.cnki.po.ZSFWPo;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2022/2/22 10:52
 * @Version 1.0
 */
@Data
public class ZSFWBo extends ZSFWPo {
    @ApiModelProperty(value = "分类")
    private String sort;
    @ApiModelProperty(value = "主题字段的值")
    private String themeValue;
//    @ApiModelProperty(value = "是否只显示5条   0:是  1:否")
//    private Integer IsLimitFive;
    //当前页码
    private Integer page;
    //每页显示条数
    private Integer pageSize;
    //分页起始下标
    private Integer start;

    public void setStart(Integer page, Integer pageSize) {
        this.start = (page - 1) * pageSize;
    }
}
